package cn.mumzone.pos.model;

import java.util.List;

/**
 * Created by qiuzhenhuan on 2019/6/28.
 */

public class SettleCalculatePriceEntity {
    private String totalAmount;
    private String goodsDiscount;
    private String bargainDiscount;
    private String memberDiscount;
    private String presentDiscount;
    private String toPayAmount;
    private OrderVoEntity orderVo;
    private List<DiscountItemBean> discountItem;

    public String getPresentDiscount() {
        return presentDiscount;
    }

    public void setPresentDiscount(String presentDiscount) {
        this.presentDiscount = presentDiscount;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getGoodsDiscount() {
        return goodsDiscount;
    }

    public void setGoodsDiscount(String goodsDiscount) {
        this.goodsDiscount = goodsDiscount;
    }

    public String getBargainDiscount() {
        return bargainDiscount;
    }

    public void setBargainDiscount(String bargainDiscount) {
        this.bargainDiscount = bargainDiscount;
    }

    public String getMemberDiscount() {
        return memberDiscount;
    }

    public void setMemberDiscount(String memberDiscount) {
        this.memberDiscount = memberDiscount;
    }

    public String getToPayAmount() {
        return toPayAmount;
    }

    public void setToPayAmount(String toPayAmount) {
        this.toPayAmount = toPayAmount;
    }

    public OrderVoEntity getOrderVo() {
        return orderVo;
    }

    public void setOrderVo(OrderVoEntity orderVo) {
        this.orderVo = orderVo;
    }

    public List<DiscountItemBean> getDiscountItem() {
        return discountItem;
    }

    public void setDiscountItem(List<DiscountItemBean> discountItem) {
        this.discountItem = discountItem;
    }

    public static class DiscountItemBean {

        public static final int TYPE_ACTIVITY = 0;// 优惠活动
        public static final int TYPE_COUPON = 1;// 优惠劵
        public static final int TYPE_EXP_COUPON = 2;// 体验劵
        public static final int TYPE_ERASE_ZERO = 3;// 抹零
        public static final int TYPE_TIMES_CARD = 4;// 次卡
        public static final int TYPE_DISCOUNT_COUPON = 5;// 折扣券
        public static final int TYPE_CASH = 6;// 现金
        public static final int TYPE_BALANCE = 7;//余额
        public static final int TYPE_ACTIVITY_BALANCE = 8;//满减券
        public static final int TYPE_ACTIVITY_DISCOUNT = 9;//满折券
        public static final int TYPE_INTEGRAL_DEDUCTION = 10;//积分抵现


        /**
         * name : 抹零
         * discount : 0.0
         */

        private String id;
        private String name;
        private String discount;
        private int discountType; // 0-优惠活动 1-优惠券 2-体验券 3-抹零 4-次卡

        public int getDiscountType() {
            return discountType;
        }

        public void setDiscountType(int discountType) {
            this.discountType = discountType;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }
    }
}
